<?php
/**
 * 2016.8.11 Cookie测试类
 * User: wuz
 * Date: 2016/8/12
 * Time: 10:37
 */
include 'CookieClass/Cookie.php';
$userName    = $_POST['userName'];
$password    = $_POST['password'];
$cookieValue = $userName . "/" . $password;
$cookieName  = "ccc";
$cookieTime  = 200;
$test        = new Ycf\Lesson\CookieAndSession\Cookie\Cookie($cookieName, $cookieValue, $cookieTime);
$test->set();
var_dump($test->getCookie());
